package net.hust.bean;

/**
 * Comment entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Comment implements java.io.Serializable {

	// Fields

	private Integer commentId;
	private String username;
	private String songname;
	private String comments;
	private Integer score;

	// Constructors

	/** default constructor */
	public Comment() {
	}

	/** minimal constructor */
	public Comment(String username, String songname) {
		this.username = username;
		this.songname = songname;

	}
	public Comment(String username, String songname, String comments) {
		this.username = username;
		this.songname = songname;
		this.comments = comments;
	}

	/** full constructor */
	public Comment(String username, String songname, String comments,
			Integer score) {
		this.username = username;
		this.songname = songname;
		this.comments = comments;
		this.score = score;
	}

	
	// Property accessors

	public Comment(Integer commentId, String username, String songname,
			String comments) {
		super();
		this.commentId = commentId;
		this.username = username;
		this.songname = songname;
		this.comments = comments;
	}

	public Comment(Integer commentId, String username, String songname,
			String comments, Integer score) {
		super();
		this.commentId = commentId;
		this.username = username;
		this.songname = songname;
		this.comments = comments;
		this.score = score;
	}

	public Integer getCommentId() {
		return this.commentId;
	}

	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getSongname() {
		return this.songname;
	}

	public void setSongname(String songname) {
		this.songname = songname;
	}

	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public Integer getScore() {
		return this.score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

}